<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<%@ page buffer="16kb"%>
<s:head />
<s:include value="" />
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#searchLbl").text($("#searchLbl1").val());
		 changeSearch();
	});
	function changeSearch() {
		var s = $("input[name=searchSel]:checked + label").text();
		$("#searchLbl").text("SEARCH " + s);
		if (s == 'STATUS') {
			$('#statSrchDiv').show();
			$('#genSrchDiv').hide();
			$('#rqEngDiv').hide();
			$('#wrkScpDiv').hide();
		}  else if (s == 'MAIN SCOPE') {
			$('#statSrchDiv').hide();
			$('#genSrchDiv').hide();
			$('#rqEngDiv').hide();
			$('#wrkScpDiv').show();
		} else {
			$('#statSrchDiv').hide();
			$('#genSrchDiv').show();
			$('#rqEngDiv').hide();
			$('#wrkScpDiv').hide();
		}
	}
</script>

<link href="<s:url value="/resources/main.css"/>" rel="stylesheet" type="text/css" />

<title><s:text name="label.icns" /></title>
</head>
<body>

<s:include value="IcnMainSearch.jsp"></s:include>

</body>
</html>